package edu.hitsz.aircraft;

import edu.hitsz.application.Main;
import edu.hitsz.basic.EnemyObject;
import edu.hitsz.bullet.BaseBullet;
import edu.hitsz.shoot.Shoot;
import edu.hitsz.shoot.ShootDirect;
import edu.hitsz.shoot.ShootNothing;
import edu.hitsz.shoot.ShootScatter;

import java.util.LinkedList;
import java.util.List;

/**
 * 普通敌机
 * 不可射击
 *
 * @author hitsz
 */
public class MobEnemy extends EnemyAircraft implements EnemyObject {

    public MobEnemy(int locationX, int locationY, int speedX, int speedY, int hp) {
        super(locationX, locationY, speedX, speedY, hp);
        setShoot(new ShootNothing());
    }

    @Override
    public void bomb() {
        this.decreaseHp(this.hp);
    }
}
